package com.atguigu.client;

import com.atguigu.bean.Viewbean;
import com.atguigu.entity.SkuView;
import com.atguigu.result.RetVal;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * SkuViewFeignClient
 *
 * @author yangchao
 * @version 开发阶段
 * @description TODO
 * @date 2022/3/9 11:44
 */
@FeignClient(value = "shop-echartsdata" )
public interface SkuViewFeignClient {

    @PostMapping("/view/exportexcel")
    public List<SkuView> exportexcel(@RequestBody Viewbean viewbean);
}
